package com.neusoft.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author cpx
 * @date 2025/1/9
 * @Description
 */
public class EmpDto {
    private Integer id;
    private String empname;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startEntryDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endEntryDate;
    private Integer deptId;
    private Integer positionId;
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname;
    }

    public Date getStartEntryDate() {
        return startEntryDate;
    }

    public void setStartEntryDate(Date startEntryDate) {
        this.startEntryDate = startEntryDate;
    }

    public Date getEndEntryDate() {
        return endEntryDate;
    }

    public void setEndEntryDate(Date endEntryDate) {
        this.endEntryDate = endEntryDate;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
